 <br clear="all"/>
 <div style="float:right;">
 <?php 
 
 $url=addParameter("table", "evigie_providers","");
 //$url=addParameter("filter", "evigie_providers",$url);
 
 ?>
 <form  action="<?=$url?>">
  <select name="filter_countryid" id="countryId" >
    <option value="">Séléctionnez un pays</option>
   <?php
  // $evigie_providers->setSessionBasicSearchKeyword("Tanger");
  


$sSql="SELECT * FROM portal_countries";

//echo $sSql."<br/>";

$frs=$GLOBALS["conn"]->Execute($sSql);

while ($frs && !$frs->EOF)  {
    $countryId=$frs->fields["id"];
    $countryCode=$frs->fields["geoCode"];
    $countryLib=$frs->fields["lib_".$LANG];
    $selected="";
if ($countryId==getParameter("filter_countryid")) $selected="selected";
?>


 <option <?=$selected?>  value="<?php echo $countryId;  ?>" ><?php echo $countryLib;  ?></option>
    <br/>
    <?php

    $frs->MoveNext();


}
?>
</select>

<input type="submit" value="Filtrer">
</form>
</div>
<br clear="all"/><br clear="all"/>


<?php 

if (getParameter("filter_countryid")) {
removeColumn("countryid");
}


?>
